package com.fivefu.core.hik.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 * 海康设备表
 * </p>
 *
 * @author 
 * @since 2022-06-30 14:17:37
 */
@TableName("db_hik_device")
@ApiModel(value = "DbHikDevice对象", description = "海康设备表")
public class DbHikDevice {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("是否删除0否1是")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("设备驱动")
    private String deviceKey;

    @ApiModelProperty("设备驱动版本号")
    private String deviceKeyVersion;

    @ApiModelProperty("设备系列")
    private String deviceType;

    @ApiModelProperty("设备序列号")
    private String devSerialNum;

    @ApiModelProperty("主动设备编号")
    private String deviceCode;

    @ApiModelProperty("资源唯一编码")
    private String indexCode;

    @ApiModelProperty("IP地址")
    private String ip;

    @ApiModelProperty("厂商")
    private String manufacturer;

    @ApiModelProperty("资源名称")
    @TableField("`name`")
    private String name;

    @ApiModelProperty("网域")
    private String netZoneId;

    @ApiModelProperty("端口")
    @TableField("`port`")
    private Integer port;

    @ApiModelProperty("资源类型")
    private String resourceType;

    @ApiModelProperty("接入协议")
    private String treatyType;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("编码设备登录用户名")
    private String userUame;

    @ApiModelProperty("编码设备登录密码")
    @TableField("`password`")
    private String password;

    @ApiModelProperty("萤石应用开发者key")
    private String appKey;

    @ApiModelProperty("萤石应用秘钥")
    private String secret;

    @ApiModelProperty("状态小于0则资源已删除")
    private Integer deviceStatus;

    @ApiModelProperty("能力集")
    private String capability;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeviceKey() {
        return deviceKey;
    }

    public void setDeviceKey(String deviceKey) {
        this.deviceKey = deviceKey;
    }

    public String getDeviceKeyVersion() {
        return deviceKeyVersion;
    }

    public void setDeviceKeyVersion(String deviceKeyVersion) {
        this.deviceKeyVersion = deviceKeyVersion;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDevSerialNum() {
        return devSerialNum;
    }

    public void setDevSerialNum(String devSerialNum) {
        this.devSerialNum = devSerialNum;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNetZoneId() {
        return netZoneId;
    }

    public void setNetZoneId(String netZoneId) {
        this.netZoneId = netZoneId;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getTreatyType() {
        return treatyType;
    }

    public void setTreatyType(String treatyType) {
        this.treatyType = treatyType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserUame() {
        return userUame;
    }

    public void setUserUame(String userUame) {
        this.userUame = userUame;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Integer getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Integer deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public String getCapability() {
        return capability;
    }

    public void setCapability(String capability) {
        this.capability = capability;
    }

    @Override
    public String toString() {
        return "DbHikDevice{" +
                "id=" + id +
                ", isDelete=" + isDelete +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                ", remark='" + remark + '\'' +
                ", deviceKey='" + deviceKey + '\'' +
                ", deviceKeyVersion='" + deviceKeyVersion + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", devSerialNum='" + devSerialNum + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", indexCode='" + indexCode + '\'' +
                ", ip='" + ip + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", name='" + name + '\'' +
                ", netZoneId='" + netZoneId + '\'' +
                ", port=" + port +
                ", resourceType='" + resourceType + '\'' +
                ", treatyType='" + treatyType + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", userUame='" + userUame + '\'' +
                ", password='" + password + '\'' +
                ", appKey='" + appKey + '\'' +
                ", secret='" + secret + '\'' +
                ", deviceStatus=" + deviceStatus +
                ", capability='" + capability + '\'' +
                '}';
    }
}
